<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>">

    <title>信息管理后台</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">
    <%@include file="/comomjsp/commCss.jsp" %>
</head>
<div id="modal1" class="modal fade" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">Modal title</h4>
            </div>
            <div class="modal-body">
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" onclick="tijiao(this)">保存</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<body class="fixed-sidebar full-height-layout gray-bg  pace-done" style="overflow:hidden">
<div class="pace  pace-inactive">
    <div class="pace-progress" data-progress-text="100%" data-progress="99" style="width: 100%;">
        <div class="pace-progress-inner"></div>
    </div>
    <div class="pace-activity"></div></div>
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="slimScrollDiv" style="position: relative; width: auto; height: 100%;"><div class="sidebar-collapse" style="width: auto; height: 100%;">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">

                        <span><img alt="image" id="head_img" class="img-circle" width="60px" height="60px" src="${sessionScope.admin.t_Img}"></span>
                        <a data-toggle="dropdown" class="dropdown-toggle " href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold " style="font-size: 16px">${sessionScope.admin.t_Username}</strong></span>
                                </span>
                            <span class="text-muted text-xs block">${sessionScope.admin.userroleList[0].roleList.r_Name}<b class="caret"></b></span>
                        </a>
                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li><a class="J_menuItem" href="javascript:void(0)" onclick="upmima('修改密码','login/gaimi')" data-index="0">修改密码</a>
                            </li>
                            <li><a class="J_menuItem" href="profile.html" data-index="1">个人资料</a>
                            </li>
                            <li><a class="J_menuItem" href="contacts.html" data-index="2">联系我们</a>
                            </li>
                            <li><a class="J_menuItem" href="mailbox.html" data-index="3">信箱</a>
                            </li>
                            <li class="divider"></li>
                            <li><a href="login.html">安全退出</a>
                            </li>
                        </ul>
                    </div>
                    <div class="logo-element">H+
                    </div>
                </li>

                <c:forEach items="${sessionScope.admin.userroleList[0].roleList.powerList}"  var="qxcd" >
                <c:if test="${qxcd.power.p_Power==0}">
                <li class="">
                    <a href="#">
                        <i class="${qxcd.power.p_Icon}"></i>
                        <span class="nav-label"  dataid="${qxcd.power.id}">${qxcd.power.p_Name}</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level collapse" aria-expanded="false" style="height: 0px;">
                        <c:forEach items="${sessionScope.admin.userroleList[0].roleList.powerList}"  var="parent" >
                            <c:if test="${qxcd.p_Id==parent.power.p_Power}">
                                <li><%--${erMenu.qxharf}--%>
                                    <a class="J_menuItem" href="login/hraf?hraf=${parent.power.p_Href}&id=${qxcd.power.id}&icon=${parent.power.p_Icon}"  dataHref="${parent.power.p_Href}"  data-index="9">${parent.power.p_Name}</a>
                                </li>
                            </c:if>
                        </c:forEach>
                    </ul>
                </li>

                </c:if>
                </c:forEach>


        </div><div class="slimScrollBar" style="background: rgb(0, 0, 0); width: 4px; position: absolute; top: 0px; opacity: 0.4; display: none; border-radius: 7px; z-index: 99; right: 1px; height: 605.763px;"></div><div class="slimScrollRail" style="width: 4px; height: 100%; position: absolute; top: 0px; display: none; border-radius: 7px; background: rgb(51, 51, 51); opacity: 0.9; z-index: 90; right: 1px;"></div></div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <%--<div class="row border-bottom" id="tou">--%>
        <%--<nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">--%>
        <%--<div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>--%>
        <%--<form role="search" class="navbar-form-custom" method="post" action="http://www.zi-han.net/theme/hplus/search_results.html">--%>
        <%--<div class="form-group">--%>
        <%--<input type="text" placeholder="请输入您需要查找的内容 …" class="form-control" name="top-search" id="top-search">--%>
        <%--</div>--%>
        <%--</form>--%>
        <%--</div>--%>
        <%--</nav>--%>
        <%--</div>--%>
        <div class="row content-tabs"  >
            <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs J_menuTabs">
                <div class="page-tabs-content" style="margin-left: 0px;">
                    <a href="javascript:void(0)" class="J_menuTab active" data-id="index_v1.html">首页</a>
                </div>
            </nav>
            <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
            </button>
            <div class="btn-group roll-nav roll-right">
                <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>
                </button>
                <ul role="menu" class="dropdown-menu dropdown-menu-right">
                    <li class="J_tabShowActive"><a>定位当前选项卡</a></li>
                    <li class="divider"></li>
                    <li class="J_tabCloseAll"><a>关闭全部选项卡</a></li>
                    <li class="J_tabCloseOther"><a>关闭其他选项卡</a></li>
                </ul>
            </div>
            <a href="login.html" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a>
        </div>
        <div class="row J_mainContent" id="content-main" style="height: 700px">
            <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="login/hraf?hraf=tongji/tongji&id=0" frameborder="0" data-id="index_v1.html" seamless="" style="display: inline;"></iframe>
        </div>
    </div>
</div>

    <div class="small-chat-box fadeInRight animated active">

        <div class="heading" draggable="true">
            <small class="chat-date pull-right">

            </small> 温馨提示
        </div>

        <div class="slimScrollDiv" style="position: relative; width: auto; height: 234px;"><div class="content" style="width: auto; height: 2340px;">

            <div class="left">
                <div class="author-name">
                    助手<small class="chat-date">
                </small>
                </div>
                <div class="chat-message active">
                    主人,你有${requestScope.count}条待审核帖子等待处理
                </div>

            </div>

        </div><div class="slimScrollBar" style="background: rgb(0, 0, 0); width: 4px; position: absolute; top: 0px; opacity: 0.4; display: none; border-radius: 7px; z-index: 99; right: 1px; height: 128.838px;"></div><div class="slimScrollRail" style="width: 4px; height: 100%; position: absolute; top: 0px; display: none; border-radius: 7px; background: rgb(51, 51, 51); opacity: 0.4; z-index: 90; right: 1px;"></div></div>
        <div class="form-chat">
            <div class="input-group input-group-sm">
                <a class="btn btn-primary J_menuItem " type="button"  style="width: 210px"  onclick="daishenhe()">立即处理</a>

            </div>
        </div>

    </div>

    <div id="small-chat" >
        <span class="badge badge-warning pull-right">${requestScope.count}</span>
        <a class="open-small-chat">
            <i class="fa fa-remove"></i>

        </a>
    </div>



</body><%@include file="/comomjsp/commJs.jsp" %>
<script src="myStyle/shouye/index.js"></script>
</html>